package org.dromara.system.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.SkyRelationship;
import org.dromara.system.domain.bo.SkyBagBo;
import org.dromara.system.domain.bo.SkyRelationshipBo;
import org.dromara.system.domain.vo.SkyRelationshipVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 天眼查股权关系Mapper接口
 *
 * @author Lion Li
 * @date 2024-09-24
 */
public interface SkyRelationshipMapper extends BaseMapperPlus<SkyRelationship, SkyRelationshipVo> {

    List<SkyRelationshipVo> queryRelateList(@Param("bo") SkyRelationshipBo bo);

    List<SkyRelationshipVo> selectRelationshipList(@Param("bo") SkyBagBo bo);

    List<SkyRelationshipVo> selectRelationshipListByStartNode(@Param("bo") SkyBagBo bo);

    List<SkyRelationshipVo> selectRelationshipListByEndNode(@Param("bo") SkyBagBo bo);
}
